@extends('admin.layouts.layout')
@section('content')
<div class="row">
    <div class="col-sm-12">
        <div class="ibox-title">
            <h5>财务管理 - 收支明细</h5>
        </div>      
        <div class="ibox-content" style="display: block;">
              <form role="form" class="form-inline">
                    <div class="form-group" id="layer_date">
                        <label for="exampleInputEmail2" class="control-label">订单类型</label>
                        <select class="form-control" name="customerNum">
				          <option value="全部">全部</option>
				          <option value="代理商">代理商</option>
				          <option selected="selected" value="直营-财务公司">直营-财务公司</option>
				          <option value="代理商-财务公司">代理商-财务公司</option>
                        </select>

                        <label for="start_date" class="control-label">起止时间</label>
						<input id="start" name="start" class="laydate-icon form-control layer-date" >
                        <label for="end_date" class="control-label">截止时间</label>
						<input id="end" name="end" class="laydate-icon form-control layer-date">
                    </div>

                    <div class="input-group">
                        <input type="text" name="nameLike" class="form-control" placeholder="输入订单号">
                        <span class="input-group-btn"> 
                            <button type="submit" class="btn btn-primary">搜索</button> 
                        </span>                                       
                    </div>                    
               </form>
        </div>
                  
        <div class="ibox-content">
                <table class="table table-striped table-bordered table-hover m-t-md">
                    <thead>
                    <tr>
                        <th class="text-center" width="100">序号</th>
                        <th class="text-center" width="100">订单号</th>
                        <th class="text-center" width="150">合作身份</th>
                        <th class="text-center" width="100">公司名称</th>
                        <th class="text-center" width="100">充值金额</th>
                        <th class="text-center" width="80">充值方式</th>
                        <th class="text-center" width="80">发起时间</th>
                        <th class="text-center" width="100">联系人姓名</th>
                        <th class="text-center" width="100">联系人电话</th>
                    </tr>
                    </thead>
                    <tbody>
                    
                        <tr>
                            <td class="text-center"></td>
                            <td class="text-center"></td>
                            <td class="text-center"></td>                           
                            <td class="text-center"></td>  
                            <td class="text-center"></td>
                            <td class="text-center"></td>
                            <td class="text-center"></td>
                            <td class="text-center"></td>
                            <td class="text-center"></td>                          
                        </tr>

                    </tbody>
                </table>
            <div class="pull-right pagination m-t-no">
                <div class="text-center">
                    
                </div>
                <div>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
<script src="{{loadEdition('/js/plugins/layer/laydate/laydate.js')}}"></script>
<script>
    laydate({elem: "#layer_date", event: "focus"});
    laydate.skin('molv');
    var start = {
        elem: "#start",
        format: "YYYY-MM-DD",
        min: '1900-01-01 00:00:00',//laydate.now(),
        max: "2099-06-16 23:59:59",
        istime: false,
        istoday: false,
        choose: function (datas) {
            end.min = datas;
            end.start = datas
        }
    };
    var end = {
        elem: "#end",
        format: "YYYY-MM-DD",
        min: '1900-01-01 00:00:00',//laydate.now(),
        max: "2099-06-16 23:59:59",
        istime: false,       
        istoday: true,
        range: true,
        choose: function (datas) {
            start.max = datas
        }
    };
    laydate(start);
    laydate(end);
</script>
@endsection